<html>
<form method="post"action="/test.php" enctype="multipart/form-data" >
Name: <input type="text" name="title" /><br/>
Upload:<input type="file" name="pic" />
<input type="submit"  name="submit" value="Submit" />
</form> 

</html>
